//
//  SearchPanel.h
//  AsyncImages
//
//  Created by Matthew on 12-2-8.
//  Copyright 2012年 develop4u.gr. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseDetailPanel.h"
#import "XMLTable.h"
@class XMLTable;
@class BaseDetailPanel;

@interface SearchPanel : UIView <UITextFieldDelegate>{
        UISegmentedControl *seg;
        UITextField *searchTextField;
    
        int search_type_id;
    
        XMLTable *table1;
        XMLTable *table2;
        XMLTable *table3;
    
        BOOL usedFlag1;
        BOOL usedFlag2;
        BOOL usedFlag3;
    
        ImageUIButton *returnButton;
        ImageUIButton *searchButton;
    
        NSString *unit_trigger;
        NSString *detail_view_exit;
    
        BaseDetailPanel *detailPanel;
}

-(void) initWithTags:(NSArray *) inTagArr
                      suffix:(NSString *) inSuffix;
-(void) doSearchAction:(NSString *) inQuery;
-(void) shiftIn;

@end
